<script setup lang="ts">

const tabList = reactive([
  {
    title: '公示中',
    name: '1',
  },
  {
    title: '已结束',
    name: '2',
  },
])
</script>

<template>
  <ListCom :tab-list="tabList">
    <template #list="{ list }">
      <van-cell v-for="item in list" :key="item" :title="item" />
    </template>
  </ListCom>
</template>

<style lang="scss" scoped></style>
